#include <iostream>
#include "FileNode.h"

FileNode::FileNode(string name,string loc):rightptr(0),downptr(0)
{
	this->name = name;
	this->location = loc;
}
string FileNode::getFileName()
{
	return this->name;
}
string FileNode::getLocation()
{
	return this->location;
}
int FileNode::assignStringList(StringNode *node)
{
	if(this->rightptr=node)
	{
		return 1;
	}
	else
		return 0;
}


int FileNode::assignFileNode(FileNode *node)
{
if(this->downptr=node)
{
	return 1;
}
else
	return 0;
}


